package com.wang.lottery.domain.activity.repository;

import com.wang.lottery.domain.activity.model.po.UserTakeActivityCount;

/**
 * @author wjh
 * @create 2023-11-09 16:26
 * 用户活动参与次数表仓储接口
 */
public interface IUserTakeActivityCountRepository {


    boolean subtractionLeftCount(Long activityId, String uId, Integer totalCount, Integer leftCount);

    UserTakeActivityCount queryUserTakeActivityCount(String uId, Long activityId);



}
